home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 July
/
07_02.iso
/
software
/
xq-xsetup
/
files
/
setup.exe
/
{app}
/
plugins
/
XQ PowerArchiver MRU Cleaner.xpl
< prev
next >
Wrap
Text File
|
2001-01-21
|
2KB
|
67 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="5"
"COUNT"="3"
"UIPATH"="Program Options\Other Programs\PowerArchiver"
"NAME"="Clear PowerArchiver Items"
"VERSION"="1.00"
"LANGUAGE"="VBScript"
"TEXT 1"="Recently used files"
"TEXT 2"="Recently extracted"
"TEXT 3"="Recently used folders"
"DESCRIPTION 1"="Close all PowerArchiver windows before using."
"DESCRIPTION 2"="Click each button to clear recently used items lists."
"DESCRIPTION 3"="It will clean also "extract to" folder lists."
"AUTHOR"="Xteq Systems (CptSiskoX)"
"COPYRIGHT"="Xteq Systems (CptSiskoX)"
"COMMENT 1"="Get PowerArchiver http://www.powerarchiver.com/ the best freeware compression program."
sP1="HKEY_CURRENT_USER\Software\PowerArchiver\Files\Active_File"
sP2="HKEY_CURRENT_USER\Software\PowerArchiver\Files\Extract"
sP3="HKEY_CURRENT_USER\Software\PowerArchiver\Files\SelDir"
SUB Plugin_Initialize
END SUB
SUB Plugin_Apply(ElementIndex,ElementSubIndex)
Select Case ElementIndex
Case 1 'recently used files
i=1
for i=1 to 99
sValue=sP1 & CStr(i)
if RegValueExists(sValue) then
Call RegDeleteValue(sValue)
end if
next
Case 2 'recently extracted
i=1
for i=1 to 99
sValue=sP2 & CStr(i)
if RegValueExists(sValue) then
Call RegDeleteValue(sValue)
end if
next
Case 3 'recently used dirs
i=1
for i=1 to 99
sValue=sP3 & CStr(i)
if RegValueExists(sValue) then
Call RegDeleteValue(sValue)
end if
next
end Select
Call MsgInformation("Wiped")
END SUB
SUB Plugin_Terminate
END SUB